package com.zboot.zbootadmin.project.base.entity;

import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 *
 * </p>
 *
 * @author draw
 * @since 2021-05-09
 */
@Data
@ApiModel(value="AreaTable对象", description="")
public class AreaTable implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "代码")
    private Long code;

    @ApiModelProperty(value = "上级ID")
    private Long pid;

    @ApiModelProperty(value = "等级：1-省；2-市；3-县；4-乡；5-村")
    private Boolean sort;

    @ApiModelProperty(value = "城市缩写（如京津翼）")
    private String shortName;

    @ApiModelProperty(value = "拼音")
    private String pinyin;

    @ApiModelProperty(value = "首字母")
    private String first;

    @ApiModelProperty(value = "经纬度")
    private String longitude;

    @ApiModelProperty(value = "经纬度")
    private String latitude;

    @ApiModelProperty(value = "直属")
    private String belong;


}
